-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add allow-unrecognized Flag #17
base: main
Are you sure you want to change the base?
Conversation
CASE Validation ResultsSummary
Details
|
f, | ||
case_version=case_version, | ||
abort_on_first=abort_on_failure, | ||
allow_warnings=allow_unrecognized, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line shows the current granularity potential of this configuration parameter.
case_validate.validate
does not have a specific option for ignoring warnings generated by the IRI typo-checker function. It only has an option for ignoring all warnings, which also includes SHACL validation warnings.
My review boils down to a matter of maintenance opinion. I believe, personally, that the feature introduced in this pull request is harmful, via application of the Robustness Principal: "Be conservative in what you send, and liberal in what you accept". I am, again personally, a subscriber to the spirit of RFC 9413:
This PR introduces a feature that says it is permissible to a user to ignore warnings in specifically the IRIs in data professing to be a part of a CDO ontology or CDO-adopted ontology. For better or worse, I am not personally happy with the idea of putting effort into supporting such a split in warning categories. If a graph has a typo'd IRI, I believe it should be fixed in the generating application. If a graph tried using a new custom concept under a CDO namespace, I believe it should go into some For the moment, I am a NACK on this PR because of the effect-scope incongruity. I'm more comfortable with this PR adding an option to expose |
Allow undefined CDO concepts to be exempted and not cause a failure.
allow-unrecognized
flag orCASE_ALLOW_UNRECOGNIZED
to not fail on unrecognized CDO concepts.